CC := gcc

log := thirdparty/log/log.h thirdparty/log/log.c
log_test: test/log_test.c $(log)
	-$(CC) $^ -o $@ -Ithirdparty
	./$@
	-rm $@

# gcc -I 选项用于指定包含文件（header files）的搜索路径
# $^: 所有依赖
# $@：目标名
